/*
 * @copyright fxsen <br/>
 * @date 2022/3/31 22:23 <br/>
 * @email <a href="mailto:fxsen@foxmail.com">
 * @author fxsen
 */
package com.fxsen.commons.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 跳过验证，不需要登录的接口，通常是入口方法上用这个，比如登录接口
 * @author fxsen
 * @date 2022/3/31 22:23
 * @email <a href="mailto:fxsen@foxmail.com">
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface NotTokenRequired {
    boolean required() default true;
}
